<?php
namespace BP\Sys\XML;
class XmlEnNoName extends XmlEn {
	public function getNo () 
	{
		return $this->GetValStringByKey("No");
	}
	public function setNo ($value) // [String value]
	{
		$this->SetVal("No", $value);
	}
	public function getName () 
	{
		return $this->GetValStringByKey("Name");
	}
	public function setName ($value) // [String value]
	{
		$this->SetVal("Name", $value);
	}
	public static function constructor__ () 
	{
		$me = new self();
		return $me;
	}
	public static function constructor__String ($no) // [String no]
	{
		$me = new self();
		$i = $me->RetrieveByPK("No", $no);
		if (($i == 0))
		{
			throw new \RuntimeException((("@没有查询�? No =" . $no) . " XML数据."));
		}
		return $me;
	}
}
?>
